<?php
/*
*All rights reserved: Yao Quan Li.
*Links:http://www.liyaoquan.cn.
*Links:http://www.imarkchina.cn.
*Date:2014.
*/
 include 'head.php'; ?>
<body class="p-homepage">
<div class="g-doc">
	<div class="g-docc box">
<?php include 'top.php'; ?>
			<div class="g-bd">
				<div class="g-bdc box">	
					<div class="m-postlst">
					<?php if (Mark_Is_Post()) { ?>
					 <?php include 'post.php';?>
					 <?php } elseif (Mark_Is_Page()) { ?>
					<?php include 'page.php'; ?>
					<?php } elseif (Mark_Is_Archive()) { ?>
					<?php include 'archive.php'; ?>
					<?php } elseif (Mark_Is_Search()) {?>
					<?php include 'search.php'; ?>
					<?php } else { ?>
					<?php include 'tag.php'; ?>
					<?php    while (Mark_Next_Post()) { ?>
						<div class="m-post m-post-img   ">
							<div class="ct">
								<div class="ctc box">
									<h2 class="ttl"><?php Mark_The_Link(); ?></h2>
								<div class="markimage"> 
                            	<a href="<?php Mark_The_Url(); ?>" title="<?php Mark_The_Title(); ?>"><?php Mark_Images(); ?></a>
                           				 </div>
									<div class="text">
										<p><?php Mark_The_Des(); ?>......</p>
									</div>
								</div>
							</div>
							<div class="info box">
								<a class="date" href="#"><?php Mark_The_Data(); ?></a>
								<a class="hot" href="#">By: <?php Mark_Nick_Name(); ?></a>
								</div>
							</div>
								<?php } ?>
							</div>
						<ul class="m-pager m-pager-idx box">
						  <div class="flickr">
            <?php if (Mark_Has_New()) {  Mark_Goto_New('<'); }  Page_List(); if (Mark_Has_Old()) {  Mark_Goto_Old('>');?>
                   				</div>
                   				 <?php } }  ?>
					</ul>
					</div>
			</div>
			<?php
                $fdlinks = $Mark_Config_Action['fdlinks'];
                if ($fdlinks == open) {
                 if ($Mark_Url_Action != ''){ echo "<!--------->"; 
                }else {
                 if ($Mark_Get_Type_Action == 'index') { ?>
                <div id="abc">
                    <font color="#CCCCCC">
                    <h5> 友情链接</h5>
                    </font>
                    <?php Mark_Links('&nbsp;&nbsp;',''); ?>
                </div>
                <?php } } } include 'footer.php'; ?>
</div>		
</div>
</body>
</html>